package message;

import java.io.IOException;
import java.io.Serializable;

public abstract class Message implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 4431500013432903987L;
	/**
	 * 
	 */
	public static final String MESSAGE_REGISTER="register";
	public static final String MESSAGE_LOGIN="login";
	public static final String MESSAGE_PLAY="play";
	public static final String MESSAGE_LOGOUT="logout";
	public static final String MESSAGE_CREATE_ROOM="create_room";
	public static final String MESSAGE_JOIN_ROOM="join_room";
	public static final String MESSAGE_LEAVE_ROOM="leave_room";
	public static final String MESSAGE_DELETE_ROOM="delete_room";
	public static final String MESSAGE_RESPONSE="result";
	public static final String REQUEST="request";
	protected String type;
	protected String status;
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
}
